const getters = {
    userInfo: state => state.user.userInfo,
    userAllInfo: state => state.user.userAllInfo,
    hasLogin:state=>state.app.hasLogin,
    forceChangePass: state => state.user.changePassWord,
    access_token: state => state.user.access_token,
    sso_access_token: state => state.user.sso_access_token,
    refresh_token: state => state.user.refresh_token,
    expires_in: state => state.user.expires_in,
    sso_expires_in: state => state.user.sso_expires_in,
    tenantId:state=>state.app.tenantId,
    roles: state => state.user.roles,
    menuList:state=>state.menu.menuList,
    pubKey:state=>state.app.pubKey,
    dynamicTab:state=>state.menu.dynamicTab,
    breadCrumbList:state=>state.menu.breadCrumbList,
    permissions:state=>state.user.permissions,
    lastAccessTime:state=>state.user.lastAccessTime,
    phoneParams: state => state.softphone.phoneParams,
    batchDate: state => state.app.batchDate,
}
export default getters
